package org.genntii.smdomain.doc;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.genntii.smdomain.doc.VO.ArticleTagDocVO;
import org.genntii.smdomain.entity.ArticleCover;
import org.genntii.smdomain.entity.ArticleTag;

import java.time.LocalDateTime;
import java.util.ArrayList;

/*
文章索引库实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ArticleDoc {
    private Long id;
    private Long userId;
    private String authorName;
    private String avatar;
    private Long channelId;
    private String title;
    private ArrayList<ArticleCover> cover;
    private String content;
    private ArrayList<ArticleTagDocVO> articleTags;
    private String  updateTime;
    private Integer view;
    private Integer userArticleCount;
    private Integer userFollowerCount;
}
